package com.mdh.EightStudy;


import java.util.Comparator;
import java.util.function.Function;

/**
 * @author mac
 * @date 2021/9/6 11:07 上午
 */
public class FunctionRef {
  public void a(){
      Function<String, Integer> s = Integer::parseInt;
      Integer i = s.apply("10");

      Comparator<Integer> compare = Integer::compare;
  }
}
